home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 July
/
EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso
/
earcd
/
game
/
patch
/
sfroghd.lha
/
Superfrog
/
Install-Superfrog
next >
Wrap
Text File
|
1997-01-03
|
2KB
|
87 lines
; --- Superfrog install script
; --- Adapted from Bert Jahn's Gods script
(set #CI_unit 0)
(set #CI_drive ("DF%ld:" #CI_unit))
;----------------------------
(set @default-dest
(askdir
(prompt ("Where should %s installed ?\nA drawer \"%s\" will automatically created." @app-name @app-name))
(help @askdir-help)
(default @default-dest)
(disk)
)
)
(set #dest (tackon @default-dest @app-name))
(makedir #dest
(help @makedir-help)
(infos)
)
;----------------------------
(copyfiles
(help @copyfiles-help)
(source "Superfrog")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "Superfrog.info")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "IntroHD")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "IntroHD.info")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "sfroghd.readme.info")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "sfroghd.readme")
(dest #dest)
)
(message ("\nInsert %s disk 1 into drive %s !" @app-name #CI_drive))
(if
(= 0 (run ("rob2file %ld \"%s/Superfrog.disk1\" 2 159 12389A OFFSET >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
("")
(abort "\"rob2file\" must be in your PATH !")
)
(message ("\nInsert %s disk 2 into drive %s !" @app-name #CI_drive))
(if
(= 0 (run ("rob2file %ld \"%s/Superfrog.disk2\" 0 159 12389A >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
("")
(abort "\"rob2file\" must be in your PATH !")
)
(message ("\nInsert %s disk 3 into drive %s !" @app-name #CI_drive))
(if
(= 0 (run ("rob2file %ld \"%s/Superfrog.disk3\" 2 159 12389A OFFSET >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
("")
(abort "\"rob2file\" must be in your PATH !")
)
(exit)